class GuiEvent extends egret.Event
{
    public static START_GAME:string = "GuiEvent_START_GAME";
    public static CLICK_HOUSE:string= "GuiEvent_CLICK_HOUSE";
    public static AGAIN_GAME:string= "GuiEvent_AGAIN_GAME";
    public static SHARE_GAME:string="GuiEvent_SHARE_GAME";
    private _data:Object;

    public constructor(type:string, bubbles:boolean=true, cancelable:boolean=false)
    {
        super(type,bubbles,cancelable);
    }
    public set data(d:Object){
        this._data=d;
    }
    public get data():Object{
        return this._data;
    }
}
